package com.netx.ebs;
import com.netx.generics.basic.Checker;


public class IllegalOperationException extends SecurityCheckException {

	public IllegalOperationException(String msg, EbsRequest request) {
		super(msg);
		Checker.checkNull(request, "request");
		// Set the REQUEST_ERROR_URL property so it can be used by the [error-handler]:
		request.setAttribute(Constants.REQUEST_ERROR_URL, request.getCompleteRequestURL(true));
	}
}
